package tr.edu.metu.is.mega.common.dto;

import javax.validation.constraints.NotNull;

/**
 * Data structure class for course assistant entities.
 */
public class CourseAssistantDTO extends BaseDTO {

    private static final long serialVersionUID = -2558384127628195963L;

    @NotNull
    private CourseDTO course;

    @NotNull
    private UserDTO user;

    /**
     * Default constructor.
     */
    public CourseAssistantDTO() {
    }

    /**
     * Returns courseDTO.
     * 
     * @return the courseDTO
     */
    public CourseDTO getCourse() {
        return course;
    }

    /**
     * Sets courseDTO value.
     * 
     * @param courseDTO the courseDTO to set
     */
    public void setCourse(CourseDTO courseDTO) {
        this.course = courseDTO;
    }

    /**
     * Returns user.
     * 
     * @return the user
     */
    public UserDTO getUser() {
        return user;
    }

    /**
     * Sets user value.
     * 
     * @param user the user to set
     */
    public void setUser(UserDTO user) {
        this.user = user;
    }

}
